feat: create federated log provider#3044
Conversation
|
|
1 similar comment
|
|
maya-jha
left a comment
There was a problem hiding this comment.
- How was testing done for this?
- Provide usage examples.
| "newrelic_workflow": resourceNewRelicWorkflow(), | ||
| "newrelic_workload": resourceNewRelicWorkload(), | ||
| "newrelic_user": resourceNewRelicUser(), | ||
| "newrelic_federated_log_setup": resourceNewRelicFederatedLogSetup(), |
There was a problem hiding this comment.
can we use federated_logs here and elsewhere instead, this will become newrelic_federated_logs_setup
|
|
||
| func resourceNewRelicAwsConnectionUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { | ||
| // Update not yet supported for AwsConnectionEntity in the client | ||
| return resourceNewRelicAwsConnectionRead(ctx, d, meta) |
| UpdateContext: resourceNewRelicFederatedLogPartitionUpdate, | ||
| DeleteContext: resourceNewRelicFederatedLogPartitionDelete, | ||
| Importer: &schema.ResourceImporter{ | ||
| StateContext: schema.ImportStatePassthroughContext, |
There was a problem hiding this comment.
What will happen if schema changes in API?
| return resourceNewRelicFederatedLogPartitionRead(ctx, d, meta) | ||
| } | ||
|
|
||
| func resourceNewRelicFederatedLogPartitionDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { | ||
| return nil |
Description
Please include a summary of the change and which issue is fixed (if relevant).
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist:
Please delete options that are not relevant.
How to test this change?
Please describe how to test your changes. Include any relevant steps in the UI, HCL file(s), commands, etc